.dag-layout {
  height: 100%;
  display: flex;
  background: #000;
  width: 100%;
  overflow: hidden;
}
.dag-layout #stencil {
  width: 60px;
  height: calc(100% - 42px);
  position: absolute;
  left: 0px;
  top: 42px;
  background: #333333;
  z-index: 2;
}
.dag-layout #stencil foreignObject {
  width: 32px;
  height: 32px;
  cursor: move;
}
.dag-layout #stencil foreignObject .self-defined {
  width: 32px;
  height: 32px;
  background: none;
}
.dag-layout #stencil foreignObject .self-defined .self-defined-icon {
  margin-top: 0;
}
.dag-layout #stencil foreignObject .self-defined-word {
  display: none;
}
.dag-layout #stencil rect {
  display: none;
}
.dag-layout #stencil .x6-cell.x6-node.x6-node-immovable {
  width: 60px;
  height: 32px;
  display: block;
  float: left;
}
.dag-layout .graph-container-box {
  width: calc(100% - 180px);
  height: 100%;
  flex: 1;
  margin-right: 1px;
  position: relative;
}
.dag-layout .graph-container-box .tool-bar {
  background: #3D3D3D;
  height: 40px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  border-bottom: 1px solid #1A1A1A;
}
.dag-layout .graph-container-box .tool-bar .logo {
  overflow: hidden;
  position: absolute;
  left: 10px;
  top: 7px;
}
.dag-layout .graph-container-box .tool-bar .logo img {
  display: block;
  height: 28px;
}
.dag-layout .graph-container-box .tool-bar .graph-handle {
  display: flex;
  width: 500px;
  justify-content: space-around;
  margin: 0 auto;
}
.dag-layout .graph-container-box .tool-bar .graph-handle li {
  background-size: 24px 24px;
  cursor: pointer;
  background-position: center center;
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
}
.dag-layout .graph-container-box .tool-bar .graph-handle li:hover {
  background-color: #000;
}
.dag-layout .graph-container-box .tool-bar .graph-handle .graph-handle-btn1 {
  background-image: url(~@/assets/img/graph-handle-btn1.png);
}
.dag-layout .graph-container-box .tool-bar .graph-handle .graph-handle-btn2 {
  background-image: url(~@/assets/img/graph-handle-btn2.png);
}
.dag-layout .graph-container-box .tool-bar .graph-handle .graph-handle-btn3 {
  background-image: url(~@/assets/img/graph-handle-btn3.png);
}
.dag-layout .graph-container-box .tool-bar .graph-handle .graph-handle-btn4 {
  background-image: url(~@/assets/img/graph-handle-btn4.png);
}
.dag-layout .graph-container-box .tool-bar .graph-handle .graph-handle-btn5 {
  background-image: url(~@/assets/img/graph-handle-btn5.png);
}
.dag-layout .graph-container-box .tool-bar .graph-handle .graph-handle-btn6 {
  background-image: url(~@/assets/img/graph-handle-btn6.png);
}
.dag-layout .graph-container-box .tool-bar .graph-handle .graph-handle-btn7 {
  background-image: url(~@/assets/img/graph-handle-btn7.png);
}
.dag-layout .graph-container-box .tool-bar .graph-handle .graph-handle-btn8 {
  background-image: url(~@/assets/img/graph-handle-btn8.png);
}
.dag-layout .graph-container-box .tool-bar .graph-handle .graph-handle-btn9 {
  background-image: url(~@/assets/img/graph-handle-btn9.png);
}
.dag-layout .graph-container-box .tool-bar .run-btn {
  position: absolute;
  right: 24px;
  top: 5px;
}
.dag-layout .graph-container-box .graph-mini-map {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 300px;
  height: 240px;
}
.dag-layout .graph-container-box .x6-graph-scroller-content {
  position: relative;
  width: 100%;
  height: 100%;
}
.dag-layout .graph-container-box #graph-container {
  width: 100%;
  height: calc(100% - 40px);
  margin-left: 60px;
}
.dag-layout .graph-container-box #graph-container .x6-graph-background {
  background: url(~@/assets/img/mosaic.png) repeat;
}
.dag-layout #container {
  width: 20%;
  height: 100%;
  background: #282828;
  box-sizing: border-box;
}
.dag-layout #container .container-title {
  color: #E5E5E5;
  line-height: 40px;
  padding-left: 42px;
  font-weight: normal;
  background: url(~@/assets/img/container-title-icon.png) no-repeat 14px center #3D3D3D;
  background-size: 18px 18px;
  font-size: 14px;
}
.dag-layout #container .container-hint {
  padding-top: 20px;
  color: #FFF;
  text-align: center;
}
.dag-layout .x6-widget-stencil {
  background: #333333;
}
.dag-layout .x6-widget-stencil-title {
  display: none;
}
.dag-layout .x6-widget-stencil-group-title {
  display: none;
}
.dag-layout .x6-widget-transform {
  margin: -1px 0 0 -1px;
  padding: 0px;
  border: 1px solid #239edd;
}
.dag-layout .x6-widget-transform > div {
  border: 1px solid #239edd;
}
.dag-layout .x6-widget-transform > div:hover {
  background-color: #3dafe4;
}
.dag-layout .x6-widget-transform-active-handle {
  background-color: #3dafe4;
}
.dag-layout .x6-widget-transform-resize {
  border-radius: 0;
}
.dag-layout .x6-widget-selection-inner {
  border: 1px solid #239edd;
}
.dag-layout .x6-widget-selection-box {
  opacity: 0;
}
.dag-layout .self-defined {
  display: block;
  width: 112px;
  height: 70px;
  background: linear-gradient(180deg, #585858 0%, #45474A 100%);
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.302);
  border-radius: 4px;
  border: 1px solid #616161;
}
.dag-layout .self-defined .self-defined-icon {
  width: 32px;
  height: 32px;
  display: block;
  margin: 7px auto 0;
}
.dag-layout .self-defined .self-defined-word {
  text-align: center;
  color: #AAAAAA;
}
.dag-layout .x6-node.x6-node-selected .self-defined {
  background: linear-gradient(180deg, #759467 0%, #548640 100%);
}
.dag-layout .x6-node.x6-node-selected .self-defined-word {
  color: #FFF;
}
.dag-layout .widget {
  overflow: hidden;
  padding: 0 14px;
  width: 100%;
  min-height: 800px;
}
.dag-layout .widget .widget-item {
  padding: 10px 0 0 0;
}
.dag-layout .widget .widget-item:after {
  display: block;
  clear: both;
  content: "\0020";
  visibility: hidden;
  height: 0;
}
.dag-layout .widget .widget-title-big {
  color: #FFF;
  font-weight: bold;
  font-size: 16px;
}
.dag-layout .widget .black-dialog {
  background: rgba(255, 255, 255, 0.2);
}
.dag-layout .widget .black-dialog .el-dialog {
  background: #282828;
}
.dag-layout .widget .black-dialog .el-dialog .el-input-group__append,
.dag-layout .widget .black-dialog .el-dialog .el-input-group__prepend,
.dag-layout .widget .black-dialog .el-dialog input,
.dag-layout .widget .black-dialog .el-dialog .el-button--default {
  background: #1D1D1D;
  border-color: #1D1D1D;
  color: #FFF;
}
.dag-layout .widget .widget-white-word {
  color: #FFF;
}
.dag-layout .widget .widget-title {
  color: #FFF;
  float: left;
  width: 120px;
}
.dag-layout .widget .widget-select {
  float: left;
  background: #1D1D1D;
}
.dag-layout .widget .widget-select .el-input__inner,
.dag-layout .widget .widget-select .el-select-dropdown,
.dag-layout .widget .widget-select .el-select-dropdown__item {
  background: #1D1D1D;
  border-color: #1D1D1D;
  color: #FFF;
}
.dag-layout .widget .widget-select .el-select-dropdown__item.hover,
.dag-layout .widget .widget-select .el-select-dropdown__item.selected {
  font-weight: bold;
  background: #000;
}
.dag-layout .widget .widget-select .el-popper[x-placement^=bottom] .popper__arrow {
  border-bottom-color: #1D1D1D;
}
.dag-layout .widget .widget-select .el-popper[x-placement^=bottom] .popper__arrow::after {
  border-bottom-color: #1D1D1D;
}
.dag-layout .widget .checkbox-word {
  margin-left: 10px;
  color: #FFF;
}
.dag-layout .widget .val {
  float: left;
  width: 160px;
}
.dag-layout .widget .val .el-input__inner {
  background: #1D1D1D;
  color: #FFF;
  border-color: rgba(0, 0, 0, 0);
}
